package com.yunshipei.core.utils;

public class StringUtils {

    public static String getZipPkgDownloadUrlFileName(String url) {
        String fileName = "";
        int index1 = url.lastIndexOf("/");
        int index2 = url.lastIndexOf(".");
        if (-1 != index1 && -1 != index2) {
            fileName = url.substring(index1 + 1, index2);
        }
        return fileName;
    }
}
